package mspbots.cw.business.core.slas;

import org.springframework.data.r2dbc.repository.R2dbcRepository;
import reactor.core.publisher.Mono;

/**
 * @author Jay.Yang
 */
public interface SlasPrioritiesRepository extends R2dbcRepository<SlasPriorities, Long> {

    Mono<SlasPriorities> findByCwIdAndTenantCode(Long cwId, Long tenantCode);

    Mono<SlasPriorities> findBySlaIdAndPriorityIdAndTenantCode(Long slaId, Long priorityId, Long tenantCode);


}
